//
//  MenuViewController.h
//  Tom
//
//  Created by Edenyorke on 14/12/11.
//  Copyright (c) 2011 Edenyorke. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MessageUtils.h"
#import "DateUtils.h"

@interface MenuViewController : UIViewController<UIActionSheetDelegate,UIPickerViewDataSource, UIPickerViewDelegate>{
    
    IBOutlet UIButton *dateDebutLabel;
    IBOutlet UILabel *dateDebutValue;
    IBOutlet UIButton *dateFinLabel;
    IBOutlet UILabel *dateFinValue;
    IBOutlet UILabel *periodeValue;
    IBOutlet UIButton *periodeLabel;
    IBOutlet UILabel *periodeActiveValue;
    IBOutlet UIButton *periodeActiveLabel;
    IBOutlet UIBarButtonItem *buttonBack;
    IBOutlet UIBarButtonItem *buttonHelp;
    IBOutlet UILabel *titleLabel;
    IBOutlet UIActionSheet *actionSheetDateDebut;
    IBOutlet UIDatePicker *datePickerDateDebut;
    IBOutlet UIActionSheet *actionSheetDateFin;
    IBOutlet UIDatePicker *datePickerDateFin;
    IBOutlet UIActionSheet *actionSheetPeriode;
    
    NSArray *periodeNumberArray;
    NSArray *periodeTypeArray;
    NSArray *periodeTypeEnumArray;
    IBOutlet UIPickerView *periodePicker;
    NSString *periodeTypeEnumString;
    NSString *periodeNumberString;
}

@property (nonatomic, retain) MessageUtils *messageUtils;
@property (nonatomic, retain) DateUtils *dateUtils;

-(IBAction) processRetour;
-(IBAction) processAide;
-(IBAction) setDateDebut;
-(IBAction) setDateFin;
-(IBAction) setPeriode;
-(IBAction) setPeriodeActive;
- (void)initParameters;
- (void)setPeriodeValue;

@end
